package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "attraction_record")
public class AttractionRecord {
    @Column(name = "id")
    private Integer id;
    @Column(name = "attraction_id")
    private Integer attraction_id;
    @Column(name = "entry")
    private Integer entry;
    @Column(name = "time")
    private Data time;
    @Column(name = "visitor_phone")
    private String visitor_phone;
}
